#pragma once
#include <string>
#include "../../type/ClientType.hpp"
#include "../interface/ClientMessageInterface.hpp"


//{type:2;result_serial_number:xasasasa}
class ReceiveSerialNumberMessage : public ClientMessageInterface{

private:
    static  ClientType::MESSAGE_TYPE messageType;

public:


    /**
     *
     * @param str
     */
    ReceiveSerialNumberMessage(const std::string& str) {
        this->initializationMessage(str);
    }

    ~ReceiveSerialNumberMessage(){}


    /**
     *
     * @return
     */
    ClientType::MESSAGE_TYPE getType() const override {
        return ReceiveSerialNumberMessage::messageType;
    }

};

ClientType::MESSAGE_TYPE ReceiveSerialNumberMessage::messageType = ClientType::MESSAGE_TYPE::RECEIVE_SERIAL_NUMBER_MESSAGE;
